package com.gitee.yannzh.rune.example.crud.params;

import com.gitee.yannzh.rune.extension.mp.query.BaseQuery;
import com.gitee.yannzh.rune.support.crud.query.Condition;
import com.gitee.yannzh.rune.support.crud.annotation.Query;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
/**
 * @author: yann
 * @description: 
 *    
 * @date: 2024-01-02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserBaseQueryParam extends BaseQuery {


    @NotBlank(message = "姓名不能为空")
    @Query(condition= Condition.LIKE)
    private String username;

    private String mobile;



}
